@import "./transition.less";

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
}

html {
  height: 100%;
  box-sizing: border-box;
}
#root {
  height: 100%;
}
:root {
  --linear-gradient: linear-gradient(to right, #6bcffd, #2380ff);
  --default-bg-color: #2380ff;
  --thin-bg-color: #6bcffd;
  --white-color: #ffffff;
  --danger-color: #ff4d4f;
  --disabled-bg-color: #f5f5f5;
  --disabled-color: #b8b8b8;
  --black-color: #000000;
  --default-fontsize: 16px;
  --small-fontsize: 14px;
  --border: 1px solid #f1f1f1;
}
.page-container {
  margin: 15px;
  padding: 20px;
  background: #ffffff;
  border-radius: 5px;
  overflow: hidden;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track-piece {
  background-color: transparent;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  cursor: pointer;
  background-color: rgba(144, 147, 153, 0.5);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #999999;
}
::-webkit-scrollbar-corner {
  display: block; /* 修复交汇时出现的白块 */
}
.ant-layout {
  height: 100%;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  // color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.app-container {
  padding: 20px;
}
